<template>
    <div class="top">
        <div class="left">
            <img src="../views/pages/img/share.png">
            <h3 style="color:  rgb(0, 0, 0, .6);">分享</h3>
        </div>
        <router-link to="/search">
            <div class="right">
                <input placeholder="搜索壁纸">
                <img src="../views/pages/img/search.png">
            </div>
        </router-link>
    </div>


    
</template>

<style lang="less" scoped>
@import '../common/less/varible.less';

// scoped 作用域

/* 头部 */
* {
    font-family: @fontfamily;
    padding: 0;
    margin: 0;
}

.top {
    font-family: @fontfamily;
    height: 90px;
    width: 100%;
    padding: 20px;
    position: fixed;
    top: 0;
    z-index: 200;
    background-color: rgba(248, 219, 222, .6);
}

.top .left {
    margin: 5px 10px;
    height: 50px;
    float: left;
}

.left img {
    width: 30px;
}

.top .right {
    height: 50px;
    width: 80%;
    float: right;
}

.right input {
    outline: none;
    height: 60px;
    width: 230px;
    padding-left: 60px;
    font-size: 22px;
    background-color: rgba(255, 255, 255, 0.3);
    box-sizing: border-box;
    border: 1px solid white;
    border-radius: 10px;
}

input::placeholder {
    color: #8b8a8a;
}

.right img {
    position: absolute;
    top: 36%;
    left: 30%;
    width: 30px;
}
</style>
<script>
import SearchView from '@/views/SearchView.vue';
import BiziView from '@/views/pages/BiziView.vue';
export default {
    components: {
        SearchView,
        BiziView,
    },
}
</script>